package com.jvyou.framework.domain.entity;

import java.util.Date;

import java.io.Serial;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;

/**
 * 系统设置分组(SysSettingGroup)表实体类
 *
 * @author 橘柚
 * @since 2025-05-30 11:01:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_setting_group")
public class SysSettingGroup implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 分组名称
     */     
    @TableField("name")      
    private String name; 
      
    /**
     * 键值
     */     
    @TableField("group_key")      
    private String groupKey; 
      
    /**
     * 乐观锁版本号
     */     
    @TableField("version")      
    private Integer version; 
      
    /**
     * 创建人ID
     */     
      @TableField(value = "created_by", fill = FieldFill.INSERT)      
    private String createdBy; 
      
    /**
     * 创建时间
     */     
      @TableField(value = "created_at", fill = FieldFill.INSERT)      
    private LocalDateTime createdAt; 
      
    /**
     * 更新人ID
     */     
      @TableField(value = "updated_by", fill = FieldFill.INSERT_UPDATE)      
    private String updatedBy; 
      
    /**
     * 更新时间
     */     
      @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)      
    private LocalDateTime updatedAt; 
      
    /**
     * 逻辑删除标志（0-未删除，1-已删除）
     */     
    @TableField("is_deleted")      
    private String isDeleted; 
      
}
